<?php session_start();?>


<form method="POST" action="/auth/login">
    {!! csrf_field() !!}

    <div>
        用户名
        <input type="text" name="uid" value="">
    </div>

    <div>
        密码
        <input type="password" name="password" id="password">
    </div>

    <div>
        <input type="checkbox" name="remember"> 记住我
    </div>

    <div>
        <button type="submit">登录</button>
        <a href="/auth/register"><button type="button">注册账号</button></a>
    </div>
</form>